pub enum CloseResult {
Success,
NotOpen,
}Expand description
Possible outcomes of the “Close” 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.
NotOpen
Indicates that nothing was done because no tunnel to the specified host was open.
Trait Implementations§
Source§impl Clone for CloseResult
impl Clone for CloseResult
Source§fn clone(&self) -> CloseResult
fn clone(&self) -> CloseResult
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 CloseResult
impl Debug for CloseResult
Source§impl PartialEq for CloseResult
impl PartialEq for CloseResult
impl Copy for CloseResult
impl Eq for CloseResult
impl StructuralPartialEq for CloseResult
Auto Trait Implementations§
impl Freeze for CloseResult
impl RefUnwindSafe for CloseResult
impl Send for CloseResult
impl Sync for CloseResult
impl Unpin for CloseResult
impl UnwindSafe for CloseResult
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