Struct protocol::wire::middleware::rotate_bytes::RotateBytes [−][src]
pub struct RotateBytes {
pub amount: u8,
}
Expand description
Middleware that rotates each transmitted byte by a fixed offset.
NOTE: This is not really useful in real life.
Fields
amount: u8
The integer offset to rotate by.
Implementations
The ROT13 cipher.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RotateBytes
impl Send for RotateBytes
impl Sync for RotateBytes
impl Unpin for RotateBytes
impl UnwindSafe for RotateBytes
Blanket Implementations
Mutably borrows from an owned value. Read more