pub struct FileInfo {
pub is_append: Option<bool>,
pub observer: Option<Handle>,
pub stream: Option<Handle>,
pub attributes: Option<NodeAttributes2>,
}
Expand description
Auxiliary data for the file representation of a node.
Fields§
§is_append: Option<bool>
§observer: Option<Handle>
§stream: Option<Handle>
§attributes: Option<NodeAttributes2>
Trait Implementations§
Source§impl Encodable for FileInfo
impl Encodable for FileInfo
Source§type Encoded = WireFileInfo
type Encoded = WireFileInfo
The wire type for the value.
§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
encoding instead of calling
encode
. Read moreSource§impl TakeFrom<WireFileInfo> for FileInfo
impl TakeFrom<WireFileInfo> for FileInfo
Source§fn take_from(from: &WireFileInfo) -> Self
fn take_from(from: &WireFileInfo) -> Self
Converts from the given
T
, taking any resources that can’t be cloned.§const COPY_OPTIMIZATION: CopyOptimization<Self> = _
const COPY_OPTIMIZATION: CopyOptimization<Self> = _
An optimization flag that allows the bytes of this type to be copied directly during
conversion instead of calling
take_from
. Read moreAuto Trait Implementations§
impl Freeze for FileInfo
impl RefUnwindSafe for FileInfo
impl Send for FileInfo
impl Sync for FileInfo
impl Unpin for FileInfo
impl UnwindSafe for FileInfo
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