pub enum ChannelReadResult<T> {
Ok(T),
BufferTooSmall {
bytes_avail: usize,
handles_avail: usize,
},
Err(Status),
}
Variants§
Implementations§
Trait Implementations§
Source§impl<T: Debug> Debug for ChannelReadResult<T>
impl<T: Debug> Debug for ChannelReadResult<T>
Source§impl<T: PartialEq> PartialEq for ChannelReadResult<T>
impl<T: PartialEq> PartialEq for ChannelReadResult<T>
impl<T: Eq> Eq for ChannelReadResult<T>
impl<T> StructuralPartialEq for ChannelReadResult<T>
Auto Trait Implementations§
impl<T> Freeze for ChannelReadResult<T>where
T: Freeze,
impl<T> RefUnwindSafe for ChannelReadResult<T>where
T: RefUnwindSafe,
impl<T> Send for ChannelReadResult<T>where
T: Send,
impl<T> Sync for ChannelReadResult<T>where
T: Sync,
impl<T> Unpin for ChannelReadResult<T>where
T: Unpin,
impl<T> UnwindSafe for ChannelReadResult<T>where
T: UnwindSafe,
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