pub struct ControlIdentity { /* private fields */ }Implementations§
Source§impl ControlIdentity
impl ControlIdentity
pub fn new( cluster_id: impl Into<String>, node_id: impl Into<String>, epoch: u64, configuration_state: ConfigurationState, recovery_generation: u64, materializer_fingerprint: LogHash, user_state: StateIdentityV3, ) -> Self
pub fn cluster_id(&self) -> &str
pub fn node_id(&self) -> &str
pub const fn epoch(&self) -> u64
pub const fn configuration_state(&self) -> &ConfigurationState
pub const fn recovery_generation(&self) -> u64
pub const fn materializer_fingerprint(&self) -> LogHash
pub const fn user_state(&self) -> StateIdentityV3
Trait Implementations§
Source§impl Clone for ControlIdentity
impl Clone for ControlIdentity
Source§fn clone(&self) -> ControlIdentity
fn clone(&self) -> ControlIdentity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ControlIdentity
impl Debug for ControlIdentity
impl Eq for ControlIdentity
Source§impl PartialEq for ControlIdentity
impl PartialEq for ControlIdentity
impl StructuralPartialEq for ControlIdentity
Auto Trait Implementations§
impl Freeze for ControlIdentity
impl RefUnwindSafe for ControlIdentity
impl Send for ControlIdentity
impl Sync for ControlIdentity
impl Unpin for ControlIdentity
impl UnsafeUnpin for ControlIdentity
impl UnwindSafe for ControlIdentity
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