pub struct NegotiationReq<'a>(pub &'a AuthMethod);
Expand description
+––+–––––+–––––+ |VER | NMETHODS | METHODS | +––+–––––+–––––+ | 1 | 1 | 1 to 255 | +––+–––––+–––––+
Tuple Fields§
§0: &'a AuthMethod
Implementations§
Source§impl NegotiationReq<'_>
impl NegotiationReq<'_>
pub fn write_to_buf(&self, buf: &mut BytesMut) -> Result<usize, SerializeError>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for NegotiationReq<'a>
impl<'a> RefUnwindSafe for NegotiationReq<'a>
impl<'a> Send for NegotiationReq<'a>
impl<'a> Sync for NegotiationReq<'a>
impl<'a> Unpin for NegotiationReq<'a>
impl<'a> UnwindSafe for NegotiationReq<'a>
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