pub struct AllOptions {
pub transfer_size: Option<Forceable<u64>>,
pub window_size: Option<Forceable<u16>>,
pub timeout: Option<Forceable<u8>>,
pub block_size: Option<Forceable<u16>>,
}
Expand description
A container with all possible TftpOption
values in a message.
Fields§
§transfer_size: Option<Forceable<u64>>
§window_size: Option<Forceable<u16>>
§timeout: Option<Forceable<u8>>
§block_size: Option<Forceable<u16>>
Trait Implementations§
Source§impl Debug for AllOptions
impl Debug for AllOptions
Source§impl Default for AllOptions
impl Default for AllOptions
Source§fn default() -> AllOptions
fn default() -> AllOptions
Returns the “default value” for a type. Read more
Source§impl FromIterator<Forceable<TftpOption>> for AllOptions
impl FromIterator<Forceable<TftpOption>> for AllOptions
Constructs an AllOptions
from an iterator of Forceable<TftpOption>
.
If the same option appears more than once in the iterator, the later value is kept.
Source§fn from_iter<T: IntoIterator<Item = Forceable<TftpOption>>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = Forceable<TftpOption>>>(iter: T) -> Self
Creates a value from an iterator. Read more
Source§impl PartialEq for AllOptions
impl PartialEq for AllOptions
impl Eq for AllOptions
impl StructuralPartialEq for AllOptions
Auto Trait Implementations§
impl Freeze for AllOptions
impl RefUnwindSafe for AllOptions
impl Send for AllOptions
impl Sync for AllOptions
impl Unpin for AllOptions
impl UnwindSafe for AllOptions
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