Enum zx::ChannelReadResult
source · 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>
source§fn eq(&self, other: &ChannelReadResult<T>) -> bool
fn eq(&self, other: &ChannelReadResult<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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