pub struct Verb(/* private fields */);Expand description
A request this daemon can send.
The README says nothing is written to your remote, and this is the sentence that makes it
true: Verb wraps a u8 that nothing outside this module can construct, and there are six
of them. SSH_FXP_WRITE, SETSTAT, REMOVE, MKDIR, RMDIR, RENAME and SYMLINK are
not missing by policy – there is no value of this type that means them, so the code that
would send one does not compile.
A seventh means adding a pub const here, which is a line in a diff somebody reads. That
is the point: the claim stops being a thing to remember and becomes a thing to notice.
Implementations§
Trait Implementations§
impl Copy for Verb
impl Eq for Verb
impl StructuralPartialEq for Verb
Auto Trait Implementations§
impl Freeze for Verb
impl RefUnwindSafe for Verb
impl Send for Verb
impl Sync for Verb
impl Unpin for Verb
impl UnsafeUnpin for Verb
impl UnwindSafe for Verb
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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