pub enum CloseType {
MUTUAL,
UNILATERAL,
UNOPENED,
}
Expand description
Whether we successfully negotiated a mutual close, closed without them, or discarded not-yet-opened channel
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for CloseType
impl<'de> Deserialize<'de> for CloseType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for CloseType
impl PartialEq for CloseType
impl Copy for CloseType
impl Eq for CloseType
impl StructuralPartialEq for CloseType
Auto Trait Implementations§
impl RefUnwindSafe for CloseType
impl Send for CloseType
impl Sync for CloseType
impl Unpin for CloseType
impl UnwindSafe for CloseType
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