Struct fluvio_controlplane_metadata::spu::SpuStatus
source · pub struct SpuStatus {
pub resolution: SpuStatusResolution,
}
Fields
resolution: SpuStatusResolution
Implementations
sourceimpl SpuStatus
impl SpuStatus
sourcepub fn resolution_label(&self) -> &'static str
pub fn resolution_label(&self) -> &'static str
Resolution to string label
sourcepub fn is_online(&self) -> bool
pub fn is_online(&self) -> bool
Checks if resolution is marked online. true for online, false otherwise
pub fn is_offline(&self) -> bool
pub fn is_init(&self) -> bool
sourcepub fn set_online(&mut self)
pub fn set_online(&mut self)
Set resolution to status to online
sourcepub fn set_offline(&mut self)
pub fn set_offline(&mut self)
Set resolution to status to offline
Trait Implementations
impl Eq for SpuStatus
impl Status for SpuStatus
impl StructuralEq for SpuStatus
impl StructuralPartialEq for SpuStatus
Auto Trait Implementations
impl RefUnwindSafe for SpuStatus
impl Send for SpuStatus
impl Sync for SpuStatus
impl Unpin for SpuStatus
impl UnwindSafe for SpuStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more