pub enum RemoteFrameError {
BadMagic,
Truncated,
BadVersion,
BadUtf8,
LiveCapability,
SenderZero,
SenderMismatch,
Name,
Unsupported,
NoSuchName,
Mailbox(MailboxFullReason),
Unavailable,
}Expand description
Why a remote hop frame was refused.
Variants§
BadMagic
Truncated
BadVersion
BadUtf8
LiveCapability
A Cap or Pid was on the wire, or a nested hop still had a reply cap.
SenderZero
Sender 0 is the local host. A remote frame must name another id.
SenderMismatch
The frame header and the envelope name different senders.
Name
Unsupported
NoSuchName
Mailbox(MailboxFullReason)
Trait Implementations§
Source§impl Clone for RemoteFrameError
impl Clone for RemoteFrameError
Source§impl Debug for RemoteFrameError
impl Debug for RemoteFrameError
Source§impl Display for RemoteFrameError
impl Display for RemoteFrameError
impl Eq for RemoteFrameError
Source§impl Error for RemoteFrameError
impl Error for RemoteFrameError
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 RemoteFrameError
impl PartialEq for RemoteFrameError
impl StructuralPartialEq for RemoteFrameError
Auto Trait Implementations§
impl Freeze for RemoteFrameError
impl RefUnwindSafe for RemoteFrameError
impl Send for RemoteFrameError
impl Sync for RemoteFrameError
impl Unpin for RemoteFrameError
impl UnsafeUnpin for RemoteFrameError
impl UnwindSafe for RemoteFrameError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.