pub struct Disconnect { /* private fields */ }
Expand description
Disconnect Command
Implementations§
Source§impl Disconnect
impl Disconnect
Sourcepub fn new(address: Address, address_type: AddressType) -> Self
pub fn new(address: Address, address_type: AddressType) -> Self
Constructs a new Disconnect
.
Trait Implementations§
Source§impl CommandRequest for Disconnect
impl CommandRequest for Disconnect
Source§const CODE: CommandCode = CommandCode::Disconnect
const CODE: CommandCode = CommandCode::Disconnect
Command code.
Source§type Reply = DisconnectReply
type Reply = DisconnectReply
Return type for this command.
Source§impl Debug for Disconnect
impl Debug for Disconnect
Source§impl From<Disconnect> for Command
impl From<Disconnect> for Command
Source§fn from(v: Disconnect) -> Self
fn from(v: Disconnect) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Disconnect
impl RefUnwindSafe for Disconnect
impl Send for Disconnect
impl Sync for Disconnect
impl Unpin for Disconnect
impl UnwindSafe for Disconnect
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