#[non_exhaustive]pub struct SourceStatus {
pub anchor: Anchor,
pub state: SourceState,
}Available on crate feature
device-id only.Expand description
One source and its state.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.anchor: AnchorThe source.
state: SourceStateIts state.
Trait Implementations§
Source§impl Clone for SourceStatus
impl Clone for SourceStatus
impl Copy for SourceStatus
Source§impl Debug for SourceStatus
impl Debug for SourceStatus
impl Eq for SourceStatus
Source§impl PartialEq for SourceStatus
impl PartialEq for SourceStatus
impl StructuralPartialEq for SourceStatus
Auto Trait Implementations§
impl Forget for SourceStatus
impl Freeze for SourceStatus
impl RefUnwindSafe for SourceStatus
impl Send for SourceStatus
impl Sync for SourceStatus
impl Unpin for SourceStatus
impl UnsafeUnpin for SourceStatus
impl UnwindSafe for SourceStatus
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