pub struct PushServer<Prev: Pusher> { /* private fields */ }Available on crate feature
lockd only.Implementations§
Source§impl<Prev: Pusher> PushServer<Prev>
impl<Prev: Pusher> PushServer<Prev>
pub fn new(prev: Prev) -> Self
pub fn end_nested(self) -> Prev
pub fn push_gracetime(self, value: u32) -> Self
pub fn push_tcp_port(self, value: u16) -> Self
pub fn push_udp_port(self, value: u16) -> Self
Trait Implementations§
Source§impl<Prev: Pusher> Drop for PushServer<Prev>
impl<Prev: Pusher> Drop for PushServer<Prev>
Source§impl<Prev: Pusher> Pusher for PushServer<Prev>
impl<Prev: Pusher> Pusher for PushServer<Prev>
Auto Trait Implementations§
impl<Prev> Freeze for PushServer<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushServer<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushServer<Prev>where
Prev: Send,
impl<Prev> Sync for PushServer<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushServer<Prev>where
Prev: Unpin,
impl<Prev> UnsafeUnpin for PushServer<Prev>where
Prev: UnsafeUnpin,
impl<Prev> UnwindSafe for PushServer<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