pub enum TransportError {
Full,
Empty,
PayloadTooLarge,
OutBufferTooSmall,
Other,
}Expand description
Errors a MessageTransport returns.
Variants§
Full
Transport is at capacity; producer must back off.
Empty
Transport is empty; consumer has nothing to take.
PayloadTooLarge
Caller-supplied payload exceeds the wire-format slot size.
OutBufferTooSmall
Caller-supplied output buffer is shorter than the slot size.
Other
Transport-specific error not covered by the categories above.
Trait Implementations§
Source§impl Clone for TransportError
impl Clone for TransportError
Source§fn clone(&self) -> TransportError
fn clone(&self) -> TransportError
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 TransportError
Source§impl Debug for TransportError
impl Debug for TransportError
impl Eq for TransportError
Source§impl From<TransportError> for SchedError
impl From<TransportError> for SchedError
Source§fn from(e: TransportError) -> Self
fn from(e: TransportError) -> Self
Converts to this type from the input type.
Source§impl From<TransportError> for ApiError
impl From<TransportError> for ApiError
Source§fn from(e: TransportError) -> Self
fn from(e: TransportError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TransportError
impl PartialEq for TransportError
impl StructuralPartialEq for TransportError
Auto Trait Implementations§
impl Freeze for TransportError
impl RefUnwindSafe for TransportError
impl Send for TransportError
impl Sync for TransportError
impl Unpin for TransportError
impl UnsafeUnpin for TransportError
impl UnwindSafe for TransportError
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