pub enum DestroySessionRes {
DestroySessionOk(DestroySessionOk),
DestroySessionNone(DestroySessionNone),
}Expand description
Variants§
DestroySessionOk(DestroySessionOk)
DestroySessionNone(DestroySessionNone)
Trait Implementations§
Source§impl Clone for DestroySessionRes
impl Clone for DestroySessionRes
Source§fn clone(&self) -> DestroySessionRes
fn clone(&self) -> DestroySessionRes
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 DestroySessionRes
impl Debug for DestroySessionRes
Source§impl Deserializable for DestroySessionRes
impl Deserializable for DestroySessionRes
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<DestroySessionNone> for DestroySessionRes
impl From<DestroySessionNone> for DestroySessionRes
Source§fn from(x: DestroySessionNone) -> Self
fn from(x: DestroySessionNone) -> Self
Converts to this type from the input type.
Source§impl From<DestroySessionOk> for DestroySessionRes
impl From<DestroySessionOk> for DestroySessionRes
Source§fn from(x: DestroySessionOk) -> Self
fn from(x: DestroySessionOk) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DestroySessionRes
impl PartialEq for DestroySessionRes
Source§impl Serializable for DestroySessionRes
impl Serializable for DestroySessionRes
Source§impl TryFrom<DestroySessionRes> for DestroySessionNone
impl TryFrom<DestroySessionRes> for DestroySessionNone
Source§type Error = DestroySessionRes
type Error = DestroySessionRes
The type returned in the event of a conversion error.
Source§impl TryFrom<DestroySessionRes> for DestroySessionOk
impl TryFrom<DestroySessionRes> for DestroySessionOk
Source§type Error = DestroySessionRes
type Error = DestroySessionRes
The type returned in the event of a conversion error.
impl StructuralPartialEq for DestroySessionRes
Auto Trait Implementations§
impl Freeze for DestroySessionRes
impl RefUnwindSafe for DestroySessionRes
impl Send for DestroySessionRes
impl Sync for DestroySessionRes
impl Unpin for DestroySessionRes
impl UnsafeUnpin for DestroySessionRes
impl UnwindSafe for DestroySessionRes
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