pub struct FilterUserdataHandle<T: FilterUserdata> { /* private fields */ }Available on crate feature
filter only.Expand description
フィルタプラグインのユーザーデータを参照するためのハンドル。
Implementations§
Source§impl<T: FilterUserdata> FilterUserdataHandle<T>
impl<T: FilterUserdata> FilterUserdataHandle<T>
Sourcepub fn read(&self) -> FilterUserdataReadGuard<'_, T>
pub fn read(&self) -> FilterUserdataReadGuard<'_, T>
ユーザーデータを読み取るためのロックを取得する。
Sourcepub fn try_read(&self) -> Option<FilterUserdataReadGuard<'_, T>>
pub fn try_read(&self) -> Option<FilterUserdataReadGuard<'_, T>>
ユーザーデータを読み取るためのロックの取得を試みる。
Sourcepub fn write(&self) -> FilterUserdataWriteGuard<'_, T>
pub fn write(&self) -> FilterUserdataWriteGuard<'_, T>
ユーザーデータを書き込むためのロックを取得する。
Sourcepub fn try_write(&self) -> Option<FilterUserdataWriteGuard<'_, T>>
pub fn try_write(&self) -> Option<FilterUserdataWriteGuard<'_, T>>
ユーザーデータを書き込むためのロックの取得を試みる。
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for FilterUserdataHandle<T>
impl<T> !UnwindSafe for FilterUserdataHandle<T>
impl<T> Freeze for FilterUserdataHandle<T>
impl<T> Send for FilterUserdataHandle<T>
impl<T> Sync for FilterUserdataHandle<T>
impl<T> Unpin for FilterUserdataHandle<T>
impl<T> UnsafeUnpin for FilterUserdataHandle<T>where
Arc<RwLock<RawRwLock, T>>: UnsafeUnpin,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more