pub enum InMemoryTransportError {
MissingLocal(ClientId),
MissingTarget(ClientId),
QueueFull {
client_id: ClientId,
capacity: usize,
},
PacketTooLarge {
budget: usize,
actual: usize,
},
Poisoned,
}Expand description
Error produced by bounded in-memory client transport.
Variants§
MissingLocal(ClientId)
Local endpoint has not been registered.
MissingTarget(ClientId)
Target client was not registered.
QueueFull
Target client queue is full.
PacketTooLarge
Packet exceeded the byte budget.
Poisoned
Shared in-memory transport state was poisoned.
Trait Implementations§
Source§impl Clone for InMemoryTransportError
impl Clone for InMemoryTransportError
Source§fn clone(&self) -> InMemoryTransportError
fn clone(&self) -> InMemoryTransportError
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 InMemoryTransportError
Source§impl Debug for InMemoryTransportError
impl Debug for InMemoryTransportError
Source§impl Display for InMemoryTransportError
impl Display for InMemoryTransportError
impl Eq for InMemoryTransportError
Source§impl Error for InMemoryTransportError
impl Error for InMemoryTransportError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for InMemoryTransportError
impl PartialEq for InMemoryTransportError
impl StructuralPartialEq for InMemoryTransportError
Auto Trait Implementations§
impl Freeze for InMemoryTransportError
impl RefUnwindSafe for InMemoryTransportError
impl Send for InMemoryTransportError
impl Sync for InMemoryTransportError
impl Unpin for InMemoryTransportError
impl UnsafeUnpin for InMemoryTransportError
impl UnwindSafe for InMemoryTransportError
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