pub struct Detach(pub Box<DetachInner>);
Tuple Fields§
§0: Box<DetachInner>
Implementations§
Source§impl Detach
impl Detach
pub fn build() -> DetachBuilder
pub fn handle(&self) -> Handle
pub fn handle_mut(&mut self) -> &mut Handle
pub fn closed(&self) -> bool
pub fn closed_mut(&mut self) -> &mut bool
pub fn error(&self) -> Option<&Error>
pub fn error_mut(&mut self) -> &mut Option<Error>
pub fn into_inner(self) -> Box<DetachInner>
Trait Implementations§
Source§impl DecodeFormatted for Detach
impl DecodeFormatted for Detach
fn decode_with_format( input: &mut Bytes, fmt: u8, ) -> Result<Self, AmqpParseError>
impl Eq for Detach
impl StructuralPartialEq for Detach
Auto Trait Implementations§
impl Freeze for Detach
impl !RefUnwindSafe for Detach
impl Send for Detach
impl Sync for Detach
impl Unpin for Detach
impl !UnwindSafe for Detach
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