pub enum OpenResult {
Success,
AlreadyOpen,
}Expand description
Possible outcomes of the “Open” command.
Besides these outcomes, an error may be signal by the return of a textual error message.
Variants§
Success
Indicates that the tunnel was successfully opened.
AlreadyOpen
Indicates that nothing was done because a tunnel to the specified host was already open.
Trait Implementations§
Source§impl Clone for OpenResult
impl Clone for OpenResult
Source§fn clone(&self) -> OpenResult
fn clone(&self) -> OpenResult
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 OpenResult
impl Debug for OpenResult
Source§impl PartialEq for OpenResult
impl PartialEq for OpenResult
impl Copy for OpenResult
impl Eq for OpenResult
impl StructuralPartialEq for OpenResult
Auto Trait Implementations§
impl Freeze for OpenResult
impl RefUnwindSafe for OpenResult
impl Send for OpenResult
impl Sync for OpenResult
impl Unpin for OpenResult
impl UnwindSafe for OpenResult
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