pub struct RouterStatus {
pub listening: bool,
pub listen: String,
pub port: u16,
pub error: Option<String>,
}Fields§
§listening: bool§listen: StringThe address the router binds (router_listen); empty before the first bind attempt.
port: u16§error: Option<String>Why the router is not listening (a taken port, say); it retries every minute.
Trait Implementations§
Source§impl Clone for RouterStatus
impl Clone for RouterStatus
Source§impl Debug for RouterStatus
impl Debug for RouterStatus
Source§impl Default for RouterStatus
impl Default for RouterStatus
Source§impl<'de> Deserialize<'de> for RouterStatus
impl<'de> Deserialize<'de> for RouterStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RouterStatus
impl PartialEq for RouterStatus
Source§impl Serialize for RouterStatus
impl Serialize for RouterStatus
impl StructuralPartialEq for RouterStatus
Auto Trait Implementations§
impl Freeze for RouterStatus
impl RefUnwindSafe for RouterStatus
impl Send for RouterStatus
impl Sync for RouterStatus
impl Unpin for RouterStatus
impl UnsafeUnpin for RouterStatus
impl UnwindSafe for RouterStatus
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