pub struct WriteChannelRequest {
pub id: ChannelID,
pub selector: u32,
pub bytes: Bytes,
pub stream_sync: Option<u64>,
pub blocking: Option<bool>,
}Fields§
§id: ChannelID§selector: u32§bytes: Bytes§stream_sync: Option<u64>§blocking: Option<bool>Trait Implementations§
Source§impl Clone for WriteChannelRequest
impl Clone for WriteChannelRequest
Source§fn clone(&self) -> WriteChannelRequest
fn clone(&self) -> WriteChannelRequest
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 moreSource§impl Debug for WriteChannelRequest
impl Debug for WriteChannelRequest
Source§impl<'de> Deserialize<'de> for WriteChannelRequest
impl<'de> Deserialize<'de> for WriteChannelRequest
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 WriteChannelRequest
Source§impl Hash for WriteChannelRequest
impl Hash for WriteChannelRequest
Source§impl Ord for WriteChannelRequest
impl Ord for WriteChannelRequest
Source§fn cmp(&self, other: &WriteChannelRequest) -> Ordering
fn cmp(&self, other: &WriteChannelRequest) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WriteChannelRequest
impl PartialEq for WriteChannelRequest
Source§fn eq(&self, other: &WriteChannelRequest) -> bool
fn eq(&self, other: &WriteChannelRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for WriteChannelRequest
impl PartialOrd for WriteChannelRequest
Source§impl Serialize for WriteChannelRequest
impl Serialize for WriteChannelRequest
impl StructuralPartialEq for WriteChannelRequest
Auto Trait Implementations§
impl !Freeze for WriteChannelRequest
impl RefUnwindSafe for WriteChannelRequest
impl Send for WriteChannelRequest
impl Sync for WriteChannelRequest
impl Unpin for WriteChannelRequest
impl UnsafeUnpin for WriteChannelRequest
impl UnwindSafe for WriteChannelRequest
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