pub enum ChanOpened {
Success,
Defer,
Failure((ChanFail, ChanHandle)),
}Expand description
The result of a channel open request.
Variants§
Success
Defer
A channel open response will be sent later (for eg TCP open)
Failure((ChanFail, ChanHandle))
A SSH failure code, as well as returning the passed channel handle
Auto Trait Implementations§
impl Freeze for ChanOpened
impl RefUnwindSafe for ChanOpened
impl Send for ChanOpened
impl Sync for ChanOpened
impl Unpin for ChanOpened
impl UnwindSafe for ChanOpened
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