Struct io_uring::uring::URingAllowlist
source · pub struct URingAllowlist(Vec<io_uring_restriction>);
Expand description
Represents an allowlist of the restrictions to be registered to a uring.
Tuple Fields§
§0: Vec<io_uring_restriction>
Implementations§
source§impl URingAllowlist
impl URingAllowlist
sourcepub fn allow_submit_operation(&mut self, operation: URingOperation) -> &mut Self
pub fn allow_submit_operation(&mut self, operation: URingOperation) -> &mut Self
Allow operation
to be submitted to the submit queue of the io_uring.
Trait Implementations§
source§impl Default for URingAllowlist
impl Default for URingAllowlist
source§fn default() -> URingAllowlist
fn default() -> URingAllowlist
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for URingAllowlist
impl Send for URingAllowlist
impl Sync for URingAllowlist
impl Unpin for URingAllowlist
impl UnwindSafe for URingAllowlist
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