pub struct NetworkingSwitchPortSettingsViewThen(/* private fields */);Implementations§
Source§impl NetworkingSwitchPortSettingsViewThen
impl NetworkingSwitchPortSettingsViewThen
pub fn new(inner: Then) -> Self
pub fn into_inner(self) -> Then
pub fn ok(self, value: &SwitchPortSettings) -> Self
pub fn client_error(self, status: u16, value: &Error) -> Self
pub fn server_error(self, status: u16, value: &Error) -> Self
Auto Trait Implementations§
impl Freeze for NetworkingSwitchPortSettingsViewThen
impl !RefUnwindSafe for NetworkingSwitchPortSettingsViewThen
impl !Send for NetworkingSwitchPortSettingsViewThen
impl !Sync for NetworkingSwitchPortSettingsViewThen
impl Unpin for NetworkingSwitchPortSettingsViewThen
impl UnsafeUnpin for NetworkingSwitchPortSettingsViewThen
impl !UnwindSafe for NetworkingSwitchPortSettingsViewThen
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