Enum thrussh::ChannelOpenFailure
source · pub enum ChannelOpenFailure {
AdministrativelyProhibited = 1,
ConnectFailed = 2,
UnknownChannelType = 3,
ResourceShortage = 4,
}
Expand description
Reason for not being able to open a channel.
Variants§
Trait Implementations§
source§impl Clone for ChannelOpenFailure
impl Clone for ChannelOpenFailure
source§fn clone(&self) -> ChannelOpenFailure
fn clone(&self) -> ChannelOpenFailure
Returns a copy 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 ChannelOpenFailure
impl Debug for ChannelOpenFailure
source§impl PartialEq for ChannelOpenFailure
impl PartialEq for ChannelOpenFailure
source§fn eq(&self, other: &ChannelOpenFailure) -> bool
fn eq(&self, other: &ChannelOpenFailure) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ChannelOpenFailure
impl StructuralPartialEq for ChannelOpenFailure
Auto Trait Implementations§
impl RefUnwindSafe for ChannelOpenFailure
impl Send for ChannelOpenFailure
impl Sync for ChannelOpenFailure
impl Unpin for ChannelOpenFailure
impl UnwindSafe for ChannelOpenFailure
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