Struct fluvio_sc_schema::topic::TopicStatus [−][src]
pub struct TopicStatus {
pub resolution: TopicResolution,
pub replica_map: BTreeMap<i32, Vec<i32, Global>>,
pub reason: String,
}
Fields
resolution: TopicResolution
replica_map: BTreeMap<i32, Vec<i32, Global>>
reason: String
Implementations
pub fn new<S>(
resolution: TopicResolution,
replica_map: Vec<Vec<i32, Global>, Global>,
reason: S
) -> TopicStatus where
S: Into<String>,
need to update the replic map
set to pending mode which means it is waiting for spu resources to be allocated
pub fn next_resolution_invalid_config<S>(reason: S) -> (TopicResolution, String) where
S: Into<String>,
pub fn set_resolution_no_resource<S>(reason: S) -> (TopicResolution, String) where
S: Into<String>,
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TopicStatus
impl Send for TopicStatus
impl Sync for TopicStatus
impl Unpin for TopicStatus
impl UnwindSafe for TopicStatus
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more