Enum stund_protocol::CloseResult
source · 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
sourceimpl Clone for CloseResult
impl Clone for CloseResult
sourcefn clone(&self) -> CloseResult
fn clone(&self) -> CloseResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CloseResult
impl Debug for CloseResult
sourceimpl PartialEq<CloseResult> for CloseResult
impl PartialEq<CloseResult> for CloseResult
sourcefn eq(&self, other: &CloseResult) -> bool
fn eq(&self, other: &CloseResult) -> bool
impl Copy for CloseResult
impl Eq for CloseResult
impl StructuralEq for CloseResult
impl StructuralPartialEq for CloseResult
Auto Trait Implementations
impl RefUnwindSafe for CloseResult
impl Send for CloseResult
impl Sync for CloseResult
impl Unpin for CloseResult
impl UnwindSafe for CloseResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more