Struct allenap_libtftp::packet::BlockNum
source · pub struct BlockNum(pub u16);
Expand description
The block number in a DATA
or ACK
packet.
Tuple Fields
0: u16
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BlockNum
impl Send for BlockNum
impl Sync for BlockNum
impl Unpin for BlockNum
impl UnwindSafe for BlockNum
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more