pub struct BlockdevOptionsNbd {
pub export: Option<String>,
pub open_timeout: Option<u32>,
pub reconnect_delay: Option<u32>,
pub tls_creds: Option<String>,
pub tls_hostname: Option<String>,
pub x_dirty_bitmap: Option<String>,
pub server: SocketAddress,
}
Fields§
§export: Option<String>
§open_timeout: Option<u32>
§reconnect_delay: Option<u32>
§tls_creds: Option<String>
§tls_hostname: Option<String>
§x_dirty_bitmap: Option<String>
§server: SocketAddress
Trait Implementations§
Source§impl Clone for BlockdevOptionsNbd
impl Clone for BlockdevOptionsNbd
Source§fn clone(&self) -> BlockdevOptionsNbd
fn clone(&self) -> BlockdevOptionsNbd
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BlockdevOptionsNbd
impl Debug for BlockdevOptionsNbd
Source§impl<'de> Deserialize<'de> for BlockdevOptionsNbd
impl<'de> Deserialize<'de> for BlockdevOptionsNbd
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
Auto Trait Implementations§
impl Freeze for BlockdevOptionsNbd
impl RefUnwindSafe for BlockdevOptionsNbd
impl Send for BlockdevOptionsNbd
impl Sync for BlockdevOptionsNbd
impl Unpin for BlockdevOptionsNbd
impl UnwindSafe for BlockdevOptionsNbd
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