pub enum BlobDirection {
Serve,
Fetch,
}Expand description
Which side of an app-blob transfer a StreamFrame::BlobTransfer describes (#82).
Variants§
Serve
We are SERVING bytes to a peer that dialed our app-blob ALPN.
Fetch
We are FETCHING bytes from a peer, via blob_fetch.
Trait Implementations§
Source§impl Clone for BlobDirection
impl Clone for BlobDirection
Source§fn clone(&self) -> BlobDirection
fn clone(&self) -> BlobDirection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BlobDirection
Source§impl Debug for BlobDirection
impl Debug for BlobDirection
Source§impl<'de> Deserialize<'de> for BlobDirection
impl<'de> Deserialize<'de> for BlobDirection
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
impl Eq for BlobDirection
Source§impl PartialEq for BlobDirection
impl PartialEq for BlobDirection
Source§impl Serialize for BlobDirection
impl Serialize for BlobDirection
impl StructuralPartialEq for BlobDirection
Auto Trait Implementations§
impl Freeze for BlobDirection
impl RefUnwindSafe for BlobDirection
impl Send for BlobDirection
impl Sync for BlobDirection
impl Unpin for BlobDirection
impl UnsafeUnpin for BlobDirection
impl UnwindSafe for BlobDirection
Blanket Implementations§
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