pub struct PushAccept<Prev: Pusher> { /* private fields */ }Available on crate feature
handshake only.Implementations§
Source§impl<Prev: Pusher> PushAccept<Prev>
impl<Prev: Pusher> PushAccept<Prev>
pub fn new(prev: Prev) -> Self
pub fn end_nested(self) -> Prev
pub fn push_sockfd(self, value: i32) -> Self
Sourcepub fn push_handler_class(self, value: u32) -> Self
pub fn push_handler_class(self, value: u32) -> Self
Associated type: HandlerClass (enum)
Sourcepub fn push_message_type(self, value: u32) -> Self
pub fn push_message_type(self, value: u32) -> Self
Associated type: MsgType (enum)
pub fn push_timeout(self, value: u32) -> Self
Sourcepub fn push_auth_mode(self, value: u32) -> Self
pub fn push_auth_mode(self, value: u32) -> Self
Associated type: Auth (enum)
Sourcepub fn push_peer_identity(self, value: u32) -> Self
pub fn push_peer_identity(self, value: u32) -> Self
Attribute may repeat multiple times (treat it as array)
Sourcepub fn nested_certificate(self) -> PushX509<Self>
pub fn nested_certificate(self) -> PushX509<Self>
Attribute may repeat multiple times (treat it as array)
pub fn push_peername(self, value: &CStr) -> Self
pub fn push_peername_bytes(self, value: &[u8]) -> Self
pub fn push_keyring(self, value: u32) -> Self
Trait Implementations§
Source§impl<Prev: Pusher> Drop for PushAccept<Prev>
impl<Prev: Pusher> Drop for PushAccept<Prev>
Source§impl<Prev: Pusher> Pusher for PushAccept<Prev>
impl<Prev: Pusher> Pusher for PushAccept<Prev>
Auto Trait Implementations§
impl<Prev> Freeze for PushAccept<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushAccept<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushAccept<Prev>where
Prev: Send,
impl<Prev> Sync for PushAccept<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushAccept<Prev>where
Prev: Unpin,
impl<Prev> UnsafeUnpin for PushAccept<Prev>where
Prev: UnsafeUnpin,
impl<Prev> UnwindSafe for PushAccept<Prev>where
Prev: UnwindSafe,
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