pub struct CoreSimilaritySessionGraphReceiver { /* private fields */ }Expand description
A core-backed session graph receiver.
Implementations§
Source§impl CoreSimilaritySessionGraphReceiver
impl CoreSimilaritySessionGraphReceiver
pub unsafe fn from_raw(handle: *mut BNSimilaritySessionGraphReceiver) -> Self
pub unsafe fn ref_from_raw( handle: *mut BNSimilaritySessionGraphReceiver, ) -> Ref<Self>
pub fn create<C: SimilaritySessionGraphReceiver>( receiver: C, ) -> Ref<CoreSimilaritySessionGraphReceiver>
Trait Implementations§
Source§impl SimilaritySessionGraphReceiver for CoreSimilaritySessionGraphReceiver
impl SimilaritySessionGraphReceiver for CoreSimilaritySessionGraphReceiver
fn on_graph_changed(&self)
Source§impl ToOwned for CoreSimilaritySessionGraphReceiver
impl ToOwned for CoreSimilaritySessionGraphReceiver
Source§type Owned = Ref<CoreSimilaritySessionGraphReceiver>
type Owned = Ref<CoreSimilaritySessionGraphReceiver>
The resulting type after obtaining ownership.
Source§fn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · Source§fn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more
impl Send for CoreSimilaritySessionGraphReceiver
impl Sync for CoreSimilaritySessionGraphReceiver
Auto Trait Implementations§
impl Freeze for CoreSimilaritySessionGraphReceiver
impl RefUnwindSafe for CoreSimilaritySessionGraphReceiver
impl Unpin for CoreSimilaritySessionGraphReceiver
impl UnsafeUnpin for CoreSimilaritySessionGraphReceiver
impl UnwindSafe for CoreSimilaritySessionGraphReceiver
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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