#[repr(u8)]pub enum RuntimeLinkClosure {
Timeout = 0,
PeerClosed = 1,
MalformedRtt = 2,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for RuntimeLinkClosure
impl Clone for RuntimeLinkClosure
Source§fn clone(&self) -> RuntimeLinkClosure
fn clone(&self) -> RuntimeLinkClosure
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 RuntimeLinkClosure
Source§impl Debug for RuntimeLinkClosure
impl Debug for RuntimeLinkClosure
impl Eq for RuntimeLinkClosure
Source§impl From<LinkClosedReason> for RuntimeLinkClosure
impl From<LinkClosedReason> for RuntimeLinkClosure
Source§fn from(reason: LinkClosedReason) -> Self
fn from(reason: LinkClosedReason) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RuntimeLinkClosure
impl PartialEq for RuntimeLinkClosure
impl StructuralPartialEq for RuntimeLinkClosure
Auto Trait Implementations§
impl Freeze for RuntimeLinkClosure
impl RefUnwindSafe for RuntimeLinkClosure
impl Send for RuntimeLinkClosure
impl Sync for RuntimeLinkClosure
impl Unpin for RuntimeLinkClosure
impl UnsafeUnpin for RuntimeLinkClosure
impl UnwindSafe for RuntimeLinkClosure
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