pub enum BlobServiceRequest {
HealthCheck {},
Upload {
data: Vec<u8>,
},
Download {
hash: BlobId,
},
GetInfo {
hash: BlobId,
},
CheckBlobs {
hashes: Vec<BlobId>,
},
}Expand description
The request sent over the wire from the client to the server.
Variants§
Trait Implementations§
Source§impl Debug for BlobServiceRequest
impl Debug for BlobServiceRequest
Source§impl<'de> Deserialize<'de> for BlobServiceRequest
impl<'de> Deserialize<'de> for BlobServiceRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BlobServiceRequest
impl RefUnwindSafe for BlobServiceRequest
impl Send for BlobServiceRequest
impl Sync for BlobServiceRequest
impl Unpin for BlobServiceRequest
impl UnwindSafe for BlobServiceRequest
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more