pub struct ExternalRegistryRecordSafe {
pub plugin_type: u8,
pub authority: PluginAuthority,
pub lifecycle_checks: Option<Vec<(u8, ExternalCheckResult)>>,
pub offset: u64,
pub data_offset: Option<u64>,
pub data_len: Option<u64>,
}
Expand description
ExternalPluginAdapter Registry record that can be used when the plugin type is not known (i.e. a ExternalPluginAdapterType
that
is too new for this client to know about).
Fields§
§plugin_type: u8
§lifecycle_checks: Option<Vec<(u8, ExternalCheckResult)>>
§offset: u64
§data_offset: Option<u64>
§data_len: Option<u64>
Implementations§
Source§impl ExternalRegistryRecordSafe
impl ExternalRegistryRecordSafe
Sourcepub fn compare_offsets(
a: &ExternalRegistryRecordSafe,
b: &ExternalRegistryRecordSafe,
) -> Ordering
pub fn compare_offsets( a: &ExternalRegistryRecordSafe, b: &ExternalRegistryRecordSafe, ) -> Ordering
Associated function for sorting RegistryRecordIndexable
by offset.
Trait Implementations§
Source§impl Clone for ExternalRegistryRecordSafe
impl Clone for ExternalRegistryRecordSafe
Source§fn clone(&self) -> ExternalRegistryRecordSafe
fn clone(&self) -> ExternalRegistryRecordSafe
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ExternalRegistryRecordSafe
impl Debug for ExternalRegistryRecordSafe
impl Eq for ExternalRegistryRecordSafe
impl StructuralPartialEq for ExternalRegistryRecordSafe
Auto Trait Implementations§
impl Freeze for ExternalRegistryRecordSafe
impl RefUnwindSafe for ExternalRegistryRecordSafe
impl Send for ExternalRegistryRecordSafe
impl Sync for ExternalRegistryRecordSafe
impl Unpin for ExternalRegistryRecordSafe
impl UnwindSafe for ExternalRegistryRecordSafe
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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