pub enum ApplicationError {
RejectLogon(String),
Reject(RejectError),
UnsupportedMessageType,
}Expand description
Returned by from_admin / from_app to influence session behavior.
Variants§
RejectLogon(String)
Veto a counterparty Logon: the session logs out and disconnects.
Reject(RejectError)
Emit a session-level Reject (35=3) for this message.
UnsupportedMessageType
Emit a BusinessMessageReject (35=j) with BusinessRejectReason(380)=3.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ApplicationError
impl RefUnwindSafe for ApplicationError
impl Send for ApplicationError
impl Sync for ApplicationError
impl Unpin for ApplicationError
impl UnsafeUnpin for ApplicationError
impl UnwindSafe for ApplicationError
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