pub struct PushHandle<Prev: Pusher> { /* private fields */ }Available on crate feature
net-shaper only.Implementations§
Source§impl<Prev: Pusher> PushHandle<Prev>
impl<Prev: Pusher> PushHandle<Prev>
pub fn new(prev: Prev) -> Self
pub fn end_nested(self) -> Prev
Sourcepub fn push_scope(self, value: u32) -> Self
pub fn push_scope(self, value: u32) -> Self
Defines the shaper @id interpretation.
Associated type: Scope (enum)
Trait Implementations§
Source§impl<Prev: Pusher> Drop for PushHandle<Prev>
impl<Prev: Pusher> Drop for PushHandle<Prev>
Source§impl<Prev: Pusher> Pusher for PushHandle<Prev>
impl<Prev: Pusher> Pusher for PushHandle<Prev>
Auto Trait Implementations§
impl<Prev> Freeze for PushHandle<Prev>where
Prev: Freeze,
impl<Prev> RefUnwindSafe for PushHandle<Prev>where
Prev: RefUnwindSafe,
impl<Prev> Send for PushHandle<Prev>where
Prev: Send,
impl<Prev> Sync for PushHandle<Prev>where
Prev: Sync,
impl<Prev> Unpin for PushHandle<Prev>where
Prev: Unpin,
impl<Prev> UnsafeUnpin for PushHandle<Prev>where
Prev: UnsafeUnpin,
impl<Prev> UnwindSafe for PushHandle<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