Enum stund_protocol::OpenResult
source · 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
sourceimpl Clone for OpenResult
impl Clone for OpenResult
sourcefn clone(&self) -> OpenResult
fn clone(&self) -> OpenResult
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 OpenResult
impl Debug for OpenResult
sourceimpl PartialEq<OpenResult> for OpenResult
impl PartialEq<OpenResult> for OpenResult
sourcefn eq(&self, other: &OpenResult) -> bool
fn eq(&self, other: &OpenResult) -> bool
impl Copy for OpenResult
impl Eq for OpenResult
impl StructuralEq for OpenResult
impl StructuralPartialEq for OpenResult
Auto Trait Implementations
impl RefUnwindSafe for OpenResult
impl Send for OpenResult
impl Sync for OpenResult
impl Unpin for OpenResult
impl UnwindSafe for OpenResult
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