pub enum Action {
Connect {
generation: u64,
},
Ready {
generation: u64,
},
Close {
generation: u64,
},
}Expand description
An instruction referring to exactly one transport attempt.
Variants§
Connect
Start establishing and authenticating the connection.
Ready
Deliver payloads on the authenticated stream.
Close
Release all transport resources for this attempt.
Trait Implementations§
impl Copy for Action
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
impl UnwindSafe for Action
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