pub enum TrySendError {
BadContext(MaybeKind),
BadId(MaybeKind),
BadParam(MaybeKind),
AccessDenied(MaybeKind),
Timeout(MaybeKind),
}
Available on crate feature
unstable
and (crate features asp3
and messagebuf
, or crate features solid_asp3
and messagebuf
, or crate feature none
) only.Expand description
Error type for MessageBufferRef::try_send
.
This type is an error kind type.
Variants§
BadContext(MaybeKind)
Requires: cfg(not(feature = "none"))
BadId(MaybeKind)
Requires: cfg(not(feature = "none"))
BadParam(MaybeKind)
The message is too large (E_PAR
, NGKI3364).
Requires: cfg(not(feature = "none"))
AccessDenied(MaybeKind)
Requires: cfg(any())
Timeout(MaybeKind)
Requires: cfg(not(feature = "none"))
Trait Implementations§
Source§impl Clone for TrySendError
impl Clone for TrySendError
Source§fn clone(&self) -> TrySendError
fn clone(&self) -> TrySendError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TrySendError
impl Debug for TrySendError
Source§impl ErrorKind for TrySendError
impl ErrorKind for TrySendError
Source§impl PartialEq for TrySendError
impl PartialEq for TrySendError
impl Copy for TrySendError
impl Eq for TrySendError
impl StructuralPartialEq for TrySendError
Auto Trait Implementations§
impl Freeze for TrySendError
impl RefUnwindSafe for TrySendError
impl Send for TrySendError
impl Sync for TrySendError
impl Unpin for TrySendError
impl UnwindSafe for TrySendError
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